package org.oc.qaq.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    @Select("SELECT role_id FROM user_role WHERE user_id=#{userId}")
    List<Long> findRoleIdsByUserId(String userId);
}
